Changed binning and centrality bin function