refactor predb stage 2 - match hashes against predbhash