Randomly generate a pivot instead of always picking the first one.