It took her five 4th years, but in the end, Hermione believed she had changed it enough that it could bind a person to her will. Even better, Hermione made it so that unlike the elves, the person wouldn’t feel enjoyment at being her slave. Hermione liked the idea of the person wanting to fight but being utterly powerless against it.