Homogenization of elasticity problems on periodic rod frames of critical thickness