-Fixed bug with cube grid contruction from file