updated partition algorithms