Improved performance, fuck the OpenCV