Bradley has 64 1-inch cubic blocks. He uses all the blocks to build a rectangular prism that is 2 inches high and 2 inches wide. How long is the rectangular prism?