extract subnet from constructor