fixed a compilation error on Linux/gcc4.4 (UINT_MAX not found)
findInterval is now named interval in dbgfm