Simplify Partition by using a normal constructor