I've found in the past that the more closely I identify with the heroine, the less completely she emerges as a person. So from the first novel I've been learning techniques to distance myself from the characters so that they are not me and I don't try to protect them in ways that aren't good for the story