modify disparity compute.