Adding fallback if the shift up/down functions are not integrable