Don't pass graph around unnecessarily in ft code