tripartitioning