end work with partition algorithms