Generalized Nested Factorization - a recursive preconditioner for spatially discretized linear systems