split array with partition