Seg scan memory problem. Value is gone at the end of max  scan block. Should be 0 not 255.