Added map->low and optimizations.