path random generation layout done