Add save data in deviate and split sampling