Design of rail head profiles with full use of grinding