Added methods to estimate compaction following rebasing. These are used to ascertain whether a rebase should take place.