only compute overhead for toy generation once: runs a bit faster