StakeCalculator refactoring, 90 min rules