Pattern enhancement