Code to compute timing of spacious at various sample sizes