add more debugging code. don't consider the bottom of a pool a surface tile.