Non-circular chain rings or sprockets