block idea is implemented to collect all matches quickly.