modified horizontal partitioning