add option to remove tridiscriminant dimension