sparse_disp: Pass threads value to it