pre-processing spatial component generate