Error fixed with 18000 data points