following https://aggr.trade/ans2