decreasing the complexity of assigning functions to new and small functions