Make the layer 1 and 2 build macros take X, Y, and side arguments.