Starting to implement new map rendering

the new map render calculation will make it easier to expand the map and
make the map infinite in the future.