enable tb to return just max or min time

I would even make buildResult static