Iran hints at needed flexibility for diplomacy