Run a bit faster by doing directions cheaper
Don't re-fetch the same line multiple times