Constrain nodes to within box and allow a maximum of 10 nodes.