fixed most of a* for dynamic need to adjust coord to model