rewrite tunneler
place rbt in referential of first three coords, finish fixing bugs