On the application of phase relationships to complex structures. VIII. An extension of the magic-integer approach