Added foreign key to lengths table.