Shaped gear