Box center precomputation