major bug fix in index serialization
easy io in compute map