Betweenness compiles