Minor change
Added stroke comparation in isSimilar