Massive spending cuts set to take effect