removed the return value from findContours as it was causing a huge memory leak