I think this is SAH over all 3 axes
Removed axis variable, which is not needed now