refactoring hex dimensions variable
continuting hexDimensions refactor