Fix wedge bounding box problem (fix #158)