Fix cusp detection edge case
Change scoring algorithm for complex characters