Why are 318's low HP and torque?

If I take the heads off and have a machine shop work on them what should I do? Port?