Corrected scaling behaviour after maximum or minimum is reached