templatize DEFAULT_GEAR_SIZE and DEFAULT_GEAR_CAPABILITIES