clean
use first element as pivot