Collect elements from multiple Boundingboxes in same view (HELP needed)

Hi all

Can anyone explain me what am doing wrong here please.

Trying to collect elements from multiple boundingboxes in same view.
But can only get one BBX to filter others gets ignored can any one help me here please.

Code below

Regards

import clr
clr.AddReference('RevitAPI')
clr.AddReference('RevitNodes')
clr.AddReference('RevitServices')
import Revit
import RevitServices
from Autodesk.Revit.DB import *
from RevitServices.Persistence import DocumentManager
clr.ImportExtensions(Revit.Elements)
clr.ImportExtensions(Revit.GeometryConversion)
doc = DocumentManager.Instance.CurrentDBDocument

#Preparing input from dynamo to revit
bbs = IN[0]
view = UnwrapElement(IN[1])

#filter = BoundingBoxIntersectsFilter(outline)
for bb in bbs:
bbx = bb.ToRevitType()
outline = Outline(bbx.Min, bbx.Max)

filter = BoundingBoxIsInsideFilter(outline)

for i in view:
collector = FilteredElementCollector(doc, i.Id).WherePasses(filter)

OUT = [e.ToDSType(True) for e in collector]

Solution Is here

regards