revising dist. curve input for robust scaling.