The contact definition might have a pinball radius that is too small, or the trim feature is excluding some elements or the edges might have multiple segments that were not selected. There can be many reasons for this.
It is best to look at the image at a 1.0 True scale and not have any other value.