q factor and power

is there an idea q factor for getting the most power out? i'm trying some mtb riding and the q factor is wider.

my legs hurt *differently* but I have no power meter on that bike to see what is going on.