# Why do automatic bone weights paint distant meshes

I have created a simple block-person from a few cube meshes, as well as an armature. When I parent the armature to the meshes with automatic weighting, it seems like blender is assigning distant vertices to a bone while ignoring nearby vertices.

The docs on automatic weights say:

It calculates how much influence a particular bone would have on vertices based on the distance from those vertices to a particular bone (“bone heat” algorithm)

This doesn't seem to be what I observe. The calf.r and thigh.r bones are closer to the vertices in the right leg than the vertices in the left leg, yet they entirely influence the latter (visa-versa for the left side).

I realize that I can manually assign vertex groups if needed, but I'm wondering if this unintuitive behavior means I set up my mesh or armature poorly.