changes to adjust the graph size