Molecular similarity: The introduction of flexible fitting