Hi,
Probably the easiest way would be to shift these parts by the base Spline, having these Segments tall enough to be trimmed by a Clipping Area (on the top & bottom of the building). Attaching a sample scene showing this approach.
Hope you'll find useful.
Best regards,