CRUISE: Reduce the scope of variables in fillpoly()