check if strings are isometric