Asmussen S, Kella O. Rate modulation in dams and ruin problems. Journal of Applied Probability.  1996;33 :523-535.