remove extra func
cleanup
cleanup
cleanup
skip empty chunks
skip also wholly undefined chunks
speed up movement