Such owners may adopt bylaws for building and maintaining their common fence by a tax, and their officers, chosen in conformity to such bylaws, may assess and collect such taxes.