compress sweep in one direction works