changed number of iterations in compound demo