Simplify calculation of inode levels.