constrain smooth almost done