Renamed Minimax variable to @available_spaces_original_length.