Amherst is latest Massachusetts town to adopt stricter energy efficiency code