Adding upper and lower bounds to graph