Modeling sofa - problem with sewn parts

I tryed to use bevel at the beginning but still - after adding subsurf modyfier it was a mess.
I’ve already found a solution in this topic:

Now I’m trying to figure it out