optimized memory usage
removed sky rays