Approximate analysis of multistory frames