fixed rectangle bounds calculations