find bug in betweenness.h