Just as a point of clarification ,reworking a muffler is not the same as modifying the engine . All a muffler rework does is allow the engine to preform better without really changing it's port timing scheme .
For the engine to move more air it must be able to expel exhaust .More air equals more fuel,more fuel equates to more power .Try as one might you can't make power without fuel .