added implementation to calc floor min/max/average times