protected void eliminate ( ) { int count = end - begin ; int mod = Math . floorMod ( begin , size ) ; while ( count > 0 && isRemovable ( mod ) ) { remove ( mod ) ; begin ++ ; count -- ; mod = Math . floorMod ( begin , size ) ; } }
Eliminate values that are no longer used in calculation