Updated
fix take and takeViaUnfold - don't initialize tail for last taken element