This is where I could put the edge logic in if we need it. Shouldn't be needed very often (isn't used for the test cases I've tried thus far...).