(a) General rule.--In the grading of any street, a city may use so much of the lots and lands abutting on the street for the construction of embankments, slopes, fills and culverts as may be necessary for the completion of the improvement.
(b) Compensation.--Compensation for damages, costs and expenses resulting from the use of lots and lands abutting on the street for the construction of embankments, slopes, fills and culverts shall be made in the same manner as compensation for using and occupying private lands for the grading of streets under section 12801 (relating to exercise of eminent domain).