fixed partition and placer to use a machien obejct to get max resources