Added second fitness case for distance of last character