fast overlap matching module functional