added detection for too large blobs