Prevented min from exceeding max
Build process