refactor ServiceElementMap to SubnetMap