times table size refactoring