Section 81D. A planning board established in any city or town under section eighty-one A shall make a master plan of such city or town or such part or parts thereof as said board may deem advisable and from time to time may extend or perfect such plan.