CRA-606: Bugfix to make  generateTimeDepthMapping run