Refactor ciselnik.py