registration[points]: Wrap Hungarian steps 1, 2, and 3 in functions.