Segment-Based Reliability Assessment For Water Distribution Networks