This phase I trial studies stereotactic body radiation therapy (SBRT) in treating patients with prostate cancer that is likely to come back or spread (high-risk) undergoing surgery. Stereotactic body radiation therapy uses special equipment to position a patient and deliver radiation to tumors with high precision. This method can kill tumor cells with fewer doses over a shorter period and cause less damage to normal tissue. Delivering radiotherapy before prostatectomy by SBRT is more convenient, conformal, and may spare normal tissues better than delivering radiotherapy after prostatectomy.