convert back to generate long compound key first