change cluster_nodes from macro to parameter

Note: definition in bitmap_info_t is still a macro.