Changing Resolution Without Affecting The Recorded Data

Expand/Shrink only lets you double or half the pattern length, respectively. It also does not adjust the note delay values you may have recorded.

So if you need a bit more flexibility, you can try my Pattern Resizer tool which allows you to resize/shrink the pattern to any length you need, and will also take care of readjusting the note delays, automation, etc.