The fabrication of the chemical contrast patterns was taken from ref. 6. PMMA (950 kDa) was diluted to 1% in chlorobenzene and spin coated onto a Si wafer grafted with a monolayer of PS-OH at 3000 rpm to give a thickness of 45 nm and serve as the resist for electron beam lithography.