Allow variable length shas