I will implement this idea:

#ifdef __tile__
typedef unsigned int FlowRefcntInt
#else
typedef unsigned short FlowRefcntInt
#endif