Removed nezz ref from the source base and took his code changes for the bitmap construction in FromStream