Instead of riding automation by hand. MazeRider can do the job for us with proper settings.
MazeRider will track the envelope curve and generate a proper compensation amount to get the desired automation curve.
Look at an example below. On the left, we have the original audio sample envelope curve which we need to balance. MazeRider will need to track the envelope and decrease a bit on the heading while increasing on the tail. See the applied effect at the right.