Fixed arbitrary array size into dynamic allocation