limit speed factor to 0..256