fixed partition size calculation