memoization for get-patch-[direction]
in-progress sanity checks