Real-space renormalization for arbitrary single-site potential