Point-on-a-way check useless code cleaning