filter out some blocks first