Remove whitespaces and fix critical gating bug
Careful parameter loading
Get rid of huge array of indices
Everything just works