Implemented `concat` in Java for optimization