Draft of a gen~ version for LAM.karpizz~