Shuffle: check that inputs are compatible ASAP