Builds the stages for Xyinn