Use shorter and more explicit types. Avoid duplicated level count calculations