add a/b relation features and cluster features