may rewrite partitioning