Truncated functions in MasterMind