three-particle-binding implementation in espresso