Compact gear