convert intermediate arrays into bumpy arrays