[Bug 617848] New: wrong calculation of partition size