blob path similarity function