Refactoring of coverage track auto-scale code.