#73 added pooling and setVisible for the path segments