Partition sweep

Minor comments on code.