cleaned up leading zeros functions.  added true values of min and max.  added CSN success cases