Using the provided code, the offset of 0.2m makes the coke cans intersect. Applying offset of 0.45m renders similar to the expected result picture
Also for the can rotation example in the beginning, if I do the rotation around y axis, there is an offset (on the gif the bottom of the can rotates along y axis, while in my case it rotates with an offset from the y axis.