modify SubnetImpl class.