A lien established in accordance with this subtitle shall extend to the land covered by the building and to as much other land, immediately adjacent and belonging in like manner to the owner of the building, as may be necessary for the ordinary and useful purposes of the building.