Start to implement fit to zero crossing