2-way partition