Many thanks to Michal Reznik for their contribution!