Investigation of the catalytic mechanism of farnesyl pyrophosphate synthase by computer simulation