mergek + partition