fix power-based trajectory finding...much better..and faster