added a back translate function
made eps check on total flow