finds total dye
fixed total dye