Flatten a curve

Sounds like a job for the sweep tool. A drawing/example would help us help you better.