Variable granularity and sample size