Extract characters from large borders, refactor.