Maximum area limit was not properly used