Changed backing getSize to calculateSize, added a getter