mcmc.jl: avoid using enumerate to speed things up, add filter option to punch out unsupported variants