dds: Decode using optimal slices sizes