How to reduce technical debt before scaling