pscan: size optimization (Tito <farmatito@tiscali.it>)