Calloc with lamp array