tuned implementation of geometric