working with subsampling at any level