Fixed directory size calculations