Add constraining of pulse width #57