Put limit on graph size