important bugfix (refreshWarpedIdx), everything of occ_avg fixed?