initital commit
finish isSatisfied minSpareResources constraint