further speed calculations