main: drop extra parens
maybe-insert-node!: use recur to remove duplication