provide module to override ruby euclidean with c implementation