Reuse asSlice in toHash