fixed formula for nOfLines in observed area