fixed calculation of non-markable boundary area