some assertions
random position fix
generate homogeneous network