Fix a bug in BFSForest and BFSMulti

- Fix a bug in BFSForest::buildForets()
- Fix a bug in BFSMulti::interpolate()