Optimization of capillary membrane modules door