Adapted COM generation with pelvis offsets