Understanding the Catalyst optimizer