Untested contiguous blob detection
Fixed boundary issues on subscript checking