Try some optimizations