previous power of 2 computation in aligned_array was incorrect