joiin_collinear rewritten