Replaced C ordered contiguity and added typed memory views