implement split in quickhull