Strategy to avoid truncation error in planar and cylindrical near-field measurement set-ups