Underground dam