printed out shift vector and took that into account in the output radius function