merge in gunes's changes and network bounding box fix