We need to make sure, that `keypoints` are contiguous as well.