update com.c for max 16 hops