Theoretical calculations of γ-ray feeding patterns for Gd, Dy and Er nuclei