precalculate square min speed