Finished coding rays