Ensure correct partition allocation