check BBox values for infinity in Vectorizer
optimize check for infinite bbox values in Vectorizer