Change pathfinding so that it doesn't use all of a robot's bytecodes