before adding spray erase
fixed the bug of using thread collision
before adding confidence to average term and normal regularize