ok, so this is simple: everytime a worm touches a wall, worm grows 1 size and his tail is bigger. don't wait much time or u will have the biggest lag of the history.