improve coding style
add positions to empty seg-gen segsites
improve code formatting