fixed cons_ST_per and made conservative periodic structures handle nesting (i think, needs testing)