private int getNumberOfThreads() {
		if (this.algorithmType == PuzzleConfiguration.ALGORITHM_IDASTAR) {
			if (this.puzzleType == PuzzleConfiguration.PUZZLE_8) {
				return 1;
			} else {
				if (canRunThreads() && this.useThreads) {
					return Utility.getDefaultNumOfThreads();
				} else {
					return 1;
				}
			}
		}
		return 1;
	}