```python
def step_back(moves: str) -> int:
    max_forward = 0
    current_position = 0

    for move in moves:
        if move == 'F':
            current_position += 1
            max_forward = max(max_forward, current_position)
        elif move == 'B':
            current_position -= 1

    return max_forward
```