faster implementation of Delassus