debug build, cap porosity in range [0.1; 0.9]