Not sure if it's the problem, but i found something suspicious. Look at the following statement. What are you trying to achieve here?


if(areaTotal == 0 && areaTotal > 3)

When would this...