shuffle moves randomly before branching