fixing bug with high noise level for visualization