bugfix from MBI - endless loop if build time > 10000 hours