gravity print information & optimize collision detect loop