Optimization for HoughLinesP