worked a bit on naive implementation, where the problem may well be that there is no unique path for a rational, and thus while findp determines what "next" consumed, the reverse doesn't hold.
that is quite crudely put.

Signed-off-by: Pepijn Kokke <pepijn.kokke@gmail.com>