algorithms for normal and general tchouikaillon