update vshs_impl.cc for debug