fixed random connected generator