optimize corner rides