Diaphragm with non uniform thickness