optimize new chunk generating