make a separate function to crudely guess the expected number of changes along the branch