Convolution of a box and a stepped exponential