improve the mapTophat
change the globals for olifant