CFD analysis and optimization of a compensated spool valve geometry