moved takeSub to scala-util