partition problem