refactor addIdealWeightToList