Cat 6 racing at its finest!
But squeezing between the curb and cars sounds like a way to die early. Ride in the gutter and get treated like the rest of the garbage and debris there by the traffic. Taking the second lane may have been the best and safest option.