Reduced a lot, right before I delete the state space method.