optimizations of maps larvae and combined