Simplify calculating the size