add adjust_size_and_find_bucket to embed.fnc