Introduced caching of the barycentrid Grid in main grid object
Continued removing direct dependencies on space.grid()