Adddtbsv3

I didn't notice the use of NaN for unused memory before. Nice touch.