Some bugs related to preceding commit corrected.
introduced cutoff in emt subroutine