simulator: fragmentation calculation.