fixed a bug in doing centrality cut with impact parameters