Spreading sequences for fast switching process in spin-valve nanopillars