first attempt to integrate, changed MapHeader to MapCube