pool txns according to input tx curve