Further optimize angle bounds checking routines by converting as little as possible