compatibility chemistry algorithm