simplified analyze-partitions