good bye first slicing algorith

code cleaning