Converted mapgrid to 2d vector, some issue with instantiation though