Handle DSes of different lengths

Apparently not an issue with Carbon but it can happen with Cyanite and
KairosDB.