Recipe: more optimizations