fixed issue with imaging structures that have all the points on the ends