split a sample