optimized display calculations