ceil for rate with nds