Any real prison would have a safety net or safety cages to protect prisoners from being thrown over the sidewalk landings on upper floors.
Someone convicted of a non-violent felony like possession with intent would not be sent to a maximum security prison, only violent offenders are housed there.