Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given an integer array nums.
In one move, you can choose one element of nums and change it to any value.
Return the minimum difference between the largest and smallest value of nums after performing at most three moves.
 
Please complete the following python code precisely:
```python
class Solution:
    def minDifference(self, nums: List[int]) -> int:
```