almost finished opencl-ization of cascade classifier