Partition Shapes into Equal Portions