map dimensions fit in i16, so use those in data structures make grid support generic position type as long as they implement to i64
map dimensions fit in i16, so use those in data structures make grid support generic position type as long as they implement to i64