Made the UpdateLevelSize function
Change get function to getDx etc.