working snake, no self interactions