cache precomputed zs