optimize map of lvl 2 and 3