You did.
It is ill-advised for bikers to 'hug' the side as you say.
Because a driver will try to squeeze past and clip you with his side mirror. I cannot count the number of friends who have gone like that. Overtaking should be deliberate. Just wait till it's clear and go.
Why can't you just...