The way Spider calculates phase duration