Source: https://is.muni.cz/th/56285/ff_d/Final-jirsa-opr1Av2.pdf