Attempt to tune the chain lookup concept. This is to be tested and finished. Not sure it didn't deserve its own branch. Anyway.