more capability to the coalignment: fixed using apply_displacements