Segfault bit adding concatenation array