many, also don't check uchar range after casting to int, this can still cause overflow with large float values.