load_subtree(): check that `prefix_len` is in the expected range