Structural origin of the gradual spin transition in a mononuclear iron(II) complex