Add another partion algorithm