pi package:numeric-prelude

Works always but simply puts the product into the last fraction.