Replaced old maximum/minimum constants by constexpr function
Updated missing file