CXX-176 implement nToReturn

Implemented nToReturn with actual limit semantics.