Implemented bounding box merging into bounding box chain.