Monte Carlo modelling of wet-chemical lithography with masks