Speed up extent calculations