updating bucketsort begin and end iterator when changing size of data in Particles