Improving Footstep Planning To Increase Stepping Range And Safety Of Bipedal Robots Over Irregular Terrain