Fixed bug in no-partitioning