7512b5fdde
There is necessary to account also x-ccordinate of the end of the edge when determining bounding box of the edge collection.