fixed triangle calc