not all positive parts are added, if adding a part costs more than its value, do not add it