Historic Massachusetts library doubles in size