The abductor hallucis muscle contributes to pain on the inside of the heel and ankle. The pain often will cause you to limp.
tarsal tunnel syndrome
The tibialis posterior muscle can cause and contribute to pain in the lower leg just above the heel. This pain will often extend into the heel and the bottom of the foot. Pain will sometimes extend up into the lower calf. If you have fallen arches, you should check the tibialis posterior for trigger points and tightness because dysfunction of this muscle will allow your ankles to collapse inward.