Seemingly functional DiffArraySubsequencer, albeit quite inefficient