rename base size to reserve, calc needed space