replace deprecated function
cache sphere dots