Move geometry truncation to geometry utils