Plotting is taking too long