contours with zero area rejected

reject contours with zero area by using the "continue" statement to be in sync with the condition checking style used in the whole file