A compact beam stop for a rare kaon decay experiment