WIP implement neighborWithHistory