Add a bit of infrastructure to make mapping easier. With a mode flag for type of positioning on cubes.