add some codes from line 110 to make eye data points look more steady.