add missing dependency
use bash functions
decrease split size