I'm not sure, would it be enough just to do:
```
if ((DEVICE_HEIGHT - BASE_HEIGHT) > BASE_HEIGHT / 5?
```
and then we can omit `SCALE_RATIO` and `AVAILABLE_SPACE` ?