basic implementation of one pass AO
small speed up, not sure if worth it or not
switched to single pass ao, sped up about 30%