fixed skip algorithm