finish bucket sort