Set resource duration in waterfall mapper.