Make uf_Find1D and Crossings inline