set theta_lim equal in all functions