Two-Level Partitioning