First version of bbox filter

Not perfect maybe there is place for improvement.