* implemented distributed idx mechanism;
* added fast duration function;