The recent algorithm Corner is a transform-based technique to represent a circuit layout image for electron beam direct write lithography systems. We improve the lossless circuit layout compression algorithm Corner so that 1) it requires fewer symbols during the corner transform, 2) it has a simpler and faster decoding process, and 3) it requires a similar amount of memory for the decoding process.Conventional photolithography systems use physical masks, which are difficult to create and nearly impossible to modify. EBDW (Electron Beam Direct Write) lithography systems are an interesting alternative which bypass physical masks. 1 As illustrated in Figure 1, they instead utilize an electron beam writer to directly write a mask image on a photo-resist coated wafer. There are a number of advantages to EBDW lithography systems. First, the flexibility gained by replacing physical masks with electronic images makes EBDW lithography systems attractive when rapid prototyping is needed for the chip design process.Second, EBDW lithography systems have the potential to be improved by software because the mask images are electronically controlled. This last point will be the focus of this paper.However, EBDW lithography systems have a drawback over physical mask lithography systems: they are slow. 2, 3 A conventional photolithography system can produce the layout images for an entire wafer in one minute. 2 An EBDW lithography system can currently achieve this throughput for circuits with relatively large features, but not for circuits with smaller features because of insufficient bandwidth between the storage where the layer images are deposited and the EBDW lithography system.Dai and Zakhor 2, 4 used lossless image compression to address this problem. As shown in Figure 2, they cache compressed layout images in storage disks and send this compressed data to the processor board memory.Then the EBDW lithography system can be used for layout images with a higher resolution if the decoder embedded within the EBDW lithography writer can recover the original images from the compressed files quickly enough. This type of system has two requirements: 5 1) the compression ratio should be at least (Transfer rate of Decoder to Writer / Transfer rate of Memory to Decoder), and 2) the decoding algorithm must have low enough complexity to be a small addition to the EBDW lithography writer. This second constraint requires the use of a decoder operating with little memory.The layout images of memory cells typically display repeated patterns in contrast to the layout images of control logic circuits. The first lossless image compression algorithm, which is known as C4, 2 is based on context prediction and searching for repeated patterns within an image. Dai and Zakhor later introduced Block C4, 4 which significantly reduces the encoding complexity without sacrificing the compression ratio.