See: https://docs.google.com/document/d/1LDM8PozLIG2Y0Th7y8NKiEhcED_z-yUXXYEJ29d3wp8/edit?usp=sharing
for details