number variable is increase corectly but item are not correctly removed.
example
**numbre are at index **
**7 ,8, 9, 10, 11, 12 ** but deleted items are at index 7, 13,9,15,11, 17 which means 3 item from the first range and 3 item from the secound range. why ? anyone who help me please