speed up geneFilter