couts in getspraypath, addbackflow. -ve available_cap. bug found.