try to fix calculations without introducing bugs
drwxr-xr-x - Dak