Improved the layout used in LDPI devices