todo: fix inaccurate gravity steps