fixing code format
removing unnecessary deep-object-access
optimizing relativeTo() results - closes #95