Geometric optimization of microreactor chambers to increase the homogeneity of the velocity field