fix up filters.stats to do selection of dimensions upon first buffer read rather than at initialize() time