fixed DC3 implementation and added large test