p64 layout btree: fix case class inheritance