Minor refactoring
Fixed issue with building streamlines
Fix