Development of a parallel molecular dynamics code on SIMD computers: Algorithm for use of pair list criterion