move number of samples under algo