Read data heights from the class's instance
Removed dataHeights stuff that won't be used anyway