Initial script for calculating net sizes
Parsing segments and nets