Updated to use DERIVE with a zero minimum