Refactoring drawdown analyzer.