fixed access indexing while computing the ratemaps