SGA index and error correct stages added