Decreased the amount of stack needed for each level of directory