2022-11-12: initial release 2022-11-16: added default parameters (levels, lower_levels)