Custom tree topology coding without performance test.