barriers in enc moved to preprocessing