On efficient simulation in dynamic models