minor fix for edge case of origin being deeper than DSB at T=0