change the code and crop 3 times to get the average of sigma
update the code