changing how size is calculated