Optimize for little memory