Infinite number of masses