Since the structure of this kind is not obvious, please add a comment to explain it. (e.g difference between the first input (origin) and the others)