When performing a pat search on an inmate, in which direction should the officer work to ensure thoroughness?