Makes node.min and node.max work