A unified 2D medical image segmentation network (SegmentNet) through distance-awareness and local feature extraction