If, upon entry of an interlocutory or final judgment of condemnation it appears that a respondent has been awarded greater compensation or damages than was allotted to him in the estimate contained in the order adopted under sections two and three or if betterments to be assessed on the land of any respondent have been determined to be less than as estimated in said order, such respondent shall be entitled to such costs; otherwise, he shall be liable for such costs.
Massachusetts Legal Code