precompute shperes begin