fix calcBOLD for minimized xz file input