Selected area size calculation was rewrited