add some error message in case of misuse of functions nsec_of_block and ncyl_of_block