updated graphs for larger values of n