Mask data preparation flow for advanced technology nodes