Improved tasks limiter

Why slice two times ?