randomly select the next piece from the rarest needed pieces