Refactoring amount computing