Refactoring Fragility calculation.