Made state vector sparse