He built the stones into an altar to the name of the Lord, and made a trench around the altar large enough for two measures of grain.