Began updating dimension calculation code