wrap-around world

calculating world dimensions is a messy step