Massive changes to logic calculating Parsha