Revert "Heard that slice is slow so made own tail function"

This reverts commit 80e9aa9f6f7f1fc87bbee34d260c4e57dd975c8a.