changed max area threshold